<?php if (!defined('THINK_PATH')) exit();?><div  id="pagedata">
    <div class="box-body no-padding">
        <div class="table-responsive mailbox-messages">
            <table class="table table-hover table-striped" id="list">
                <tbody>
                <!-- 标题栏 -->
                <tr>
                    <td></td>
                    <td style="width:60px;"><a href="">排序</a></td>
                    <td class="mailbox-star"><a href="#">标题</a></td>
                    <td class="mailbox-star"><a href="#">显示</a></td>
                    <td class="mailbox-star"><a href="#">推荐</a></td>
                    <td class="mailbox-star"><a href="#">置顶</a></td>
                    <td class="mailbox-star"><a href="#">更新时间</a></td>
                    <td class="mailbox-star"><a href="#">发表时间</a></td>
                    <td class="mailbox-star"><a href="#">管理操作</a></td>
                </tr>
                <!-- 标题栏 END -->


                <!-- 循环列表 默认循环20条 高度为980px -->
                <?php if(is_array($Content)): $i = 0; $__LIST__ = $Content;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
                <tr>
                    <td><input name="select_id" type="checkbox" value="<?php echo $data['id']; ?>"></td>
                    <td><input name="listorder" class="listorder"  type="text" data-orderid="<?php echo $data['id']; ?>"  value="<?php echo $data['listorder']; ?>" /></td>
                    <td class="mailbox-subject" width="40%"><?php echo $data['name']; ?></td>
                    <td class="mailbox-star"><?php if(($data['status'] == 1)): ?>是<?php else: ?>否<?php endif; ?></td>
                    <td class="mailbox-star"><?php if(($data['rec_ok'] == 1)): ?>推荐<?php else: ?>不推荐<?php endif; ?></td>
                    <td class="mailbox-star"><?php if(($data['top_ok'] == 1)): ?>置顶<?php else: ?>不置顶<?php endif; ?></td>
                    <td class="mailbox-attachment">2016-03-15</td>
                    <td class="mailbox-date">2016-02-14</td>
                    <td class="mailbox-date">
                        <a href="<?php echo U('Content/delContent',array('term_id'=>$data['term_id'],'id'=>$data['id'],'model_id'=>$data['model_id'])); ?>">删除</a>&nbsp;|&nbsp;
                        <a href="<?php echo U('Content/editContent',array('term_id'=>$data['term_id'],'id'=>$data['id'],'model_id'=>$data['model_id'])); ?>">编辑</a>
                       
                    </td>
                </tr>
                <?php endforeach; endif; else: echo "" ;endif; ?>
                <!-- 循环列表 END -->


                </tbody>
            </table>
        </div>
    </div>
    <div class="box-footer no-padding" >
        <div class="mailbox-controls" style="margin-top:20px;margin-bottom:10px;">
            <input type="checkbox" id="all">
            <input type="button" value="全选" class="btn" id="selectAll">
            <input type="button" value="全不选" class="btn" id="unSelect">
            <input type="button" value="反选" class="btn" id="reverse">
            <input type="button" value="删除" class="btn" onclick="fn();">
            <?php echo $page; ?>
        </div>

    </div>

</div>
